<?php

namespace App\Models\Game;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class ChangeScene extends Model
{
    use HasFactory;
    protected $table = "log_role_change_scene";
    public function __construct(array $attributes = [])
    {
        global $gameArea; if (!$gameArea) $gameArea = 0;
        $this->setConnection('log_'.$gameArea);
        parent::__construct($attributes);
    }
}
